This forum is closed to new posts and
responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:
~Isaac Ekgerogenakoi 12.Jan.04 11:45 PM a Web browser Applications Development6.0.3Windows NT
I am trying to write code to prevent a user from selecting duplicates dates. I have the following code in the querysave and I recieve this error "You have attempted nested events". If I place the code in the save & close button it save regardless of duplicate. Please Help!
@If(PeriodEnding = ""; @Return(@Prompt([Ok];"Reminder";"The Period Ending field cannot be blank!"));
@If(@Contains(@Text(PeriodEnding); @Text(List));
@Return(@Prompt([Ok]; "Reminder!"; "You have entered a duplicate period-ending date. You can add only unique dates.")); @Do(@Command([FileSave]); @PostedCommand ([FileCloseWindow]))))